package omit.wage.service.impl;

import omit.wage.dto.AdminRegisterDTO;
import omit.wage.mapper.AdministratorRegisterMapper;
import omit.wage.service.IAdministratorRegisterService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdministratorRegisterServiceImpl implements IAdministratorRegisterService {
    @Autowired
    private AdministratorRegisterMapper administratorRegisterMapper;

    @Override
    public void register(AdminRegisterDTO adminRegisterDTO) {
        //调用持久层添加注册信息
        administratorRegisterMapper.insert(adminRegisterDTO);
    }
}
